.bar {
  width: 100%;
  margin-left: 16px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .left-button-group{
    display: flex;
    align-items: center;
    .icon-list {
      .el-button {
        font-size: 16px;
        width: 24px;
        height: 24px;
        border: none;
      }
      .el-divider--vertical{
        height: 1.3em;
      }
    }
    .item {
      border: none;
      padding: 0;
      margin-right: 2px;
      &.narrow{
        .svg-icon{
          width: 0.9em;
          height: 0.9em;
        }
      }
    }
    .el-button:focus {
      color: unset;
      border-color: unset;
      background-color: unset;
    }
    .auto-save{
      margin-left: 10px;
      i {
        margin-right: 6px;
      }
      .el-icon-refresh{
        color: $--color-blue;
        font-size: 16px;
        animation: rotate 1s linear infinite;
      }
      .el-icon-circle-check{
        color: #67C23A;
      }
      .el-icon-circle-close{
        color: #F56C6C;
      }
    }
  }

  .right-button-group{
    display: flex;
    align-items: center;
    .instanceState{
      cursor:pointer;
      margin-right: 10px;
      i{
        margin-right: 4px;
        &.Success{
          color: #52c41a;
        }
        &.Failed{
          color: #ff4d4f;
        }
        &.Running{
          color: $--color-blue;
          animation: spin 1s linear infinite;
        }
        &.Paused{
          color: #E6A23C;
        }
        &.Cancelled{
          color: #606266;
        }
      }
    }
    .run-time{
      margin-right: 10px;
    }
  }

  @keyframes rotate {
    to {
      transform: rotate(360deg);
    }
  }
}
